/**
 * 
 */

var services = angular.module('ngdemo.services', [ 'ngResource' ]);

services.factory('UserFactory', function($resource) {
	return $resource('http://localhost:8080/restservice/rest/usuarios', {}, {
		query : {
			method : 'GET',
			params : {},
			isArray : false
		}
	});
});